<?php
import( 'de.ceus-media.framework.krypton.core.Model' );
/**
 *	Data Model of Licencees.
 *	@package		mv2.model
 *	@extends		Framework_Krypton_Core_Model
 *	@author			Christian Würker <Christian.Wuerker@CeuS-Media.de>
 *	@since			19.02.2007
 *	@version		0.1
 */
/**
 *	Data Model of Licencees.
 *	@package		mv2.model
 *	@extends		Framework_Krypton_Core_Model
 *	@author			Christian Würker <Christian.Wuerker@CeuS-Media.de>
 *	@since			19.02.2007
 *	@version		0.1
 */
class Model_Licencee extends Framework_Krypton_Core_Model
{
	/**
	 *	Constructor.
	 *	@access		public
	 *	@param		int		$licencee_id		ID of Licencee
	 *	@return		void
	 */
	public function __construct( $licencee_id = false )
	{
		$tablename	= "licencees";
		$fields	= array(
			"licencee_id",
			"title",
			"acronym",
			"created",
			"modified",
		);
		$primary_key	= $fields[0];
		$indices		= array( "company_id", "title", "acronym" );
		parent::__construct( $tablename, $fields, $primary_key, $$primary_key );
		parent::setIndices( $indices );
	}
}
?>
